package com.IC.base.controller;

import IC.common.core.domain.R;
import com.IC.base.service.ActualPopulationTagService;
import com.IC.domain.po.ActualPopulationTag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/tag")
public class ActualPopulationTagController {

    @Autowired
    private ActualPopulationTagService actualPopulationTagService;

    @GetMapping("/findAll")
    public R findAll() {
        List<ActualPopulationTag> list = actualPopulationTagService.list();
        return R.ok(list);
    }

}
